Optimal. Leaf size=140 \[ \frac{b x^{m+1} (e+f x)^n \left (\frac{f x}{e}+1\right )^{-n} F_1\left (m+1;-n,1;m+2;-\frac{f x}{e},-\frac{b x}{a}\right )}{a (m+1) (b c-a d)}-\frac{d x^{m+1} (e+f x)^n \left (\frac{f x}{e}+1\right )^{-n} F_1\left (m+1;-n,1;m+2;-\frac{f x}{e},-\frac{d x}{c}\right )}{c (m+1) (b c-a d)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.383137, antiderivative size = 140, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 3, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.12 \[ \frac{b x^{m+1} (e+f x)^n \left (\frac{f x}{e}+1\right )^{-n} F_1\left (m+1;-n,1;m+2;-\frac{f x}{e},-\frac{b x}{a}\right )}{a (m+1) (b c-a d)}-\frac{d x^{m+1} (e+f x)^n \left (\frac{f x}{e}+1\right )^{-n} F_1\left (m+1;-n,1;m+2;-\frac{f x}{e},-\frac{d x}{c}\right )}{c (m+1) (b c-a d)} \]
Antiderivative was successfully verified.
[In] Int[(x^m*(e + f*x)^n)/((a + b*x)*(c + d*x)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 39.0696, size = 104, normalized size = 0.74 \[ \frac{d x^{m + 1} \left (1 + \frac{f x}{e}\right )^{- n} \left (e + f x\right )^{n} \operatorname{appellf_{1}}{\left (m + 1,1,- n,m + 2,- \frac{d x}{c},- \frac{f x}{e} \right )}}{c \left (m + 1\right ) \left (a d - b c\right )} - \frac{b x^{m + 1} \left (1 + \frac{f x}{e}\right )^{- n} \left (e + f x\right )^{n} \operatorname{appellf_{1}}{\left (m + 1,1,- n,m + 2,- \frac{b x}{a},- \frac{f x}{e} \right )}}{a \left (m + 1\right ) \left (a d - b c\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**m*(f*x+e)**n/(b*x+a)/(d*x+c),x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 1.21839, size = 309, normalized size = 2.21 \[ \frac{e (m+2) x^{m+1} (e+f x)^n \left (-\frac{a b F_1\left (m+1;-n,1;m+2;-\frac{f x}{e},-\frac{b x}{a}\right )}{(a+b x) (a d-b c) \left (a e (m+2) F_1\left (m+1;-n,1;m+2;-\frac{f x}{e},-\frac{b x}{a}\right )+x \left (a f n F_1\left (m+2;1-n,1;m+3;-\frac{f x}{e},-\frac{b x}{a}\right )-b e F_1\left (m+2;-n,2;m+3;-\frac{f x}{e},-\frac{b x}{a}\right )\right )\right )}-\frac{c d F_1\left (m+1;-n,1;m+2;-\frac{f x}{e},-\frac{d x}{c}\right )}{(c+d x) (b c-a d) \left (c e (m+2) F_1\left (m+1;-n,1;m+2;-\frac{f x}{e},-\frac{d x}{c}\right )+x \left (c f n F_1\left (m+2;1-n,1;m+3;-\frac{f x}{e},-\frac{d x}{c}\right )-d e F_1\left (m+2;-n,2;m+3;-\frac{f x}{e},-\frac{d x}{c}\right )\right )\right )}\right )}{m+1} \]
Warning: Unable to verify antiderivative.
[In] Integrate[(x^m*(e + f*x)^n)/((a + b*x)*(c + d*x)),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.097, size = 0, normalized size = 0. \[ \int{\frac{{x}^{m} \left ( fx+e \right ) ^{n}}{ \left ( bx+a \right ) \left ( dx+c \right ) }}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^m*(f*x+e)^n/(b*x+a)/(d*x+c),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (f x + e\right )}^{n} x^{m}}{{\left (b x + a\right )}{\left (d x + c\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x + e)^n*x^m/((b*x + a)*(d*x + c)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (f x + e\right )}^{n} x^{m}}{b d x^{2} + a c +{\left (b c + a d\right )} x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x + e)^n*x^m/((b*x + a)*(d*x + c)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**m*(f*x+e)**n/(b*x+a)/(d*x+c),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (f x + e\right )}^{n} x^{m}}{{\left (b x + a\right )}{\left (d x + c\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x + e)^n*x^m/((b*x + a)*(d*x + c)),x, algorithm="giac")
[Out]